﻿@{
    Layout = "~/Views/Shared/_Root.cshtml";
}
@*@{
    //current category ID
    int currentCategoryId = Url.GetCurrentCategoryId();

    //current manufacturer ID
    int currentManufacturerId = Url.GetCurrentManufacturerId();

    //current product ID
    int currentProductId = Url.GetCurrentProductId();
}*@
<div class="col-xs-3">
    @if (IsSectionDefined("left"))
    {
        @RenderSection("left")
    }
    else
    {
        @Html.Widget("left_side_column_before")
        //using static category template instead dynamic read category navigation.
        @Html.Partial("~/Views/Catalog/CategoryNavigationStaticTemplate.cshtml");
        @*@Html.Action("CategoryNavigation", "Catalog", new { currentCategoryId = currentCategoryId, currentProductId = currentProductId })*@
        @Html.Widget("left_side_column_after_category_navigation")
        @*@Html.Action("ManufacturerNavigation", "Catalog", new { currentManufacturerId = currentManufacturerId })*@
        @*@Html.Action("VendorNavigation", "Catalog")*@
        @Html.Action("HomepageBestSellers", "Product")
        @Html.Action("NewsletterBox", "Newsletter")
        @Html.Widget("left_side_column_after")
    }
</div>
<div class="col-xs-9">
    @Html.Widget("main_column_before")
    @RenderBody()
    @Html.Widget("main_column_after")
</div>
